package com.github.appintro.model;

import com.github.appintro.AppIntroBaseFragment;
import ohos.utils.PacMap;

public class SliderPage {
    private CharSequence title;
    private CharSequence description;
    private int imageDrawable;
    private int backgroundColor;
    private int titleColor;
    private int descriptionColor;
    private int titleTypefaceFontRes;
    private int descriptionTypefaceFontRes;
    private String titleTypeface;
    private String descriptionTypeface;
    private int[] backgroundDrawable;

    public final String getTitleString() {
        return title.toString();
    }

    public final String getDescriptionString() {
        return description.toString();
    }

    public final PacMap toBundle() {
        PacMap newBundle = new PacMap();
        newBundle.putString(AppIntroBaseFragment.ARG_TITLE, this.getTitleString());
        newBundle.putString(AppIntroBaseFragment.ARG_TITLE_TYPEFACE, this.titleTypeface);
        newBundle.putIntValue(AppIntroBaseFragment.ARG_TITLE_TYPEFACE_RES, this.titleTypefaceFontRes);
        newBundle.putIntValue(AppIntroBaseFragment.ARG_TITLE_COLOR, this.titleColor);
        newBundle.putString(AppIntroBaseFragment.ARG_DESC, this.getDescriptionString());
        newBundle.putString(AppIntroBaseFragment.ARG_DESC_TYPEFACE, this.descriptionTypeface);
        newBundle.putIntValue(AppIntroBaseFragment.ARG_DESC_TYPEFACE_RES, this.descriptionTypefaceFontRes);
        newBundle.putIntValue(AppIntroBaseFragment.ARG_DESC_COLOR, this.descriptionColor);
        newBundle.putIntValue(AppIntroBaseFragment.ARG_DRAWABLE, this.imageDrawable);
        newBundle.putIntValue(AppIntroBaseFragment.ARG_BG_COLOR, this.backgroundColor);
        newBundle.putIntValueArray(AppIntroBaseFragment.ARG_BG_DRAWABLE, this.backgroundDrawable);
        return newBundle;
    }

    public final CharSequence getTitle() {
        return this.title;
    }

    public void setTitle(CharSequence var1) {
        this.title = var1;
    }

    public final CharSequence getDescription() {
        return this.description;
    }

    public void setDescription(CharSequence var1) {
        this.description = var1;
    }

    public final int getImageDrawable() {
        return this.imageDrawable;
    }

    public void setImageDrawable(int var1) {
        this.imageDrawable = var1;
    }

    public final int getBackgroundColor() {
        return this.backgroundColor;
    }

    public void setBackgroundColor(int var1) {
        this.backgroundColor = var1;
    }

    public final int getTitleColor() {
        return this.titleColor;
    }

    public void setTitleColor(int var1) {
        this.titleColor = var1;
    }

    public final int getDescriptionColor() {
        return this.descriptionColor;
    }

    public void setDescriptionColor(int var1) {
        this.descriptionColor = var1;
    }

    public final int getTitleTypefaceFontRes() {
        return this.titleTypefaceFontRes;
    }

    public void setTitleTypefaceFontRes(int var1) {
        this.titleTypefaceFontRes = var1;
    }

    public final int getDescriptionTypefaceFontRes() {
        return this.descriptionTypefaceFontRes;
    }

    public void setDescriptionTypefaceFontRes(int var1) {
        this.descriptionTypefaceFontRes = var1;
    }

    public final String getTitleTypeface() {
        return this.titleTypeface;
    }

    public void setTitleTypeface(String var1) {
        this.titleTypeface = var1;
    }

    public final String getDescriptionTypeface() {
        return this.descriptionTypeface;
    }

    public void setDescriptionTypeface(String var1) {
        this.descriptionTypeface = var1;
    }

    public final int[] getBackgroundDrawable() {
        return this.backgroundDrawable;
    }

    public void setBackgroundDrawable(int[] var1) {
        this.backgroundDrawable = var1;
    }

    public SliderPage(
            CharSequence title,
            CharSequence description,
            int imageDrawable,
            int backgroundColor,
            int titleColor,
            int descriptionColor,
            int titleTypefaceFontRes,
            int descriptionTypefaceFontRes,
            String titleTypeface,
            String descriptionTypeface,
            int[] backgroundDrawable) {
        this.title = title;
        this.description = description;
        this.imageDrawable = imageDrawable;
        this.backgroundColor = backgroundColor;
        this.titleColor = titleColor;
        this.descriptionColor = descriptionColor;
        this.titleTypefaceFontRes = titleTypefaceFontRes;
        this.descriptionTypefaceFontRes = descriptionTypefaceFontRes;
        this.titleTypeface = titleTypeface;
        this.descriptionTypeface = descriptionTypeface;
        this.backgroundDrawable = backgroundDrawable;
    }
}
